import React, { Component } from 'react';
import { Link } from 'react-router-dom'

import { Provider } from 'mobx-react';

import Routes from './routes/index';
import stores from './stores/index';

import './styles/animate.min.css';

import { ConfigProvider, message } from 'antd';

// import zhCN from 'antd/es/locale/zh_CN';

message.config({
    top: 100,
    duration: 1,
    maxCount: 5,
});



class App extends Component {
    render() {
        return (
           
                <Provider {...stores} >
                    <Routes />
                </Provider>
           
        );
    }

}

export default App;